
byte bvalue = 1;
byte bvalue2 = 0xe5;
int ivalue2 = bvalue2
int ivalue2_unassigned = 0xFF & bvalue2


println bvalue
println bvalue2

println ivalue2 + ',' + ivalue2_unassigned
println ((byte)ivalue2_unassigned)

char cvalue = 0x31;
println 'cvalue=' + cvalue
println 'int of cvalue = ' + String.format('%X', ((int)cvalue));

// Format convention: %[argument_index$][flags][width][.precision]conversion
println String.format('char %1$s=%1$X', bvalue2);
println String.format('char %s=%X', bvalue2, bvalue2);

float balanceDelta = 12234234.83f;
println String.format("Amount gained or lost since last statement: \$ %(,.2f", balanceDelta);



